package com.xintai.sparepart.spareandpart.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xintai.common.annotation.Excel;
import com.xintai.common.core.domain.BaseEntity;

/**
 * 备品备件客户管理对象 bei_clients
 *
 * @author xintai
 * @date 2020-12-29
 */
public class BeiClients extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long beiId;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String beiName;

    /** 联系人 */
    @Excel(name = "联系人")
    private String beiContacts;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String beiPhone;

    /** 维护人 */
    @Excel(name = "维护人")
    private Long userId;

    /** 经办人 */
    @Excel(name = "经办人")
    private Long userJbrid;

    /** 维护时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "维护时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date beiTime;

    /** 删除状态：0 ： 正常， 1 ： 删除， 删除后不可见 */
    @Excel(name = "删除状态：0 ： 正常， 1 ： 删除， 删除后不可见")
    private Long beiIsdel;

    /** 客户余额， 默认不显示，创建用户是初始值为0， 单独有客户余额查询功能， 后期创建客户流水账时使用 */
    @Excel(name = "客户余额， 默认不显示，创建用户是初始值为0， 单独有客户余额查询功能， 后期创建客户流水账时使用")
    private BigDecimal beiMoney;

    public void setBeiId(Long beiId)
    {
        this.beiId = beiId;
    }

    public Long getBeiId()
    {
        return beiId;
    }
    public void setBeiName(String beiName)
    {
        this.beiName = beiName;
    }

    public String getBeiName()
    {
        return beiName;
    }
    public void setBeiContacts(String beiContacts)
    {
        this.beiContacts = beiContacts;
    }

    public String getBeiContacts()
    {
        return beiContacts;
    }
    public void setBeiPhone(String beiPhone)
    {
        this.beiPhone = beiPhone;
    }

    public String getBeiPhone()
    {
        return beiPhone;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setUserJbrid(Long userJbrid)
    {
        this.userJbrid = userJbrid;
    }

    public Long getUserJbrid()
    {
        return userJbrid;
    }
    public void setBeiTime(Date beiTime)
    {
        this.beiTime = beiTime;
    }

    public Date getBeiTime()
    {
        return beiTime;
    }
    public void setBeiIsdel(Long beiIsdel)
    {
        this.beiIsdel = beiIsdel;
    }

    public Long getBeiIsdel()
    {
        return beiIsdel;
    }
    public void setBeiMoney(BigDecimal beiMoney)
    {
        this.beiMoney = beiMoney;
    }

    public BigDecimal getBeiMoney()
    {
        return beiMoney;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("beiId", getBeiId())
            .append("beiName", getBeiName())
            .append("beiContacts", getBeiContacts())
            .append("beiPhone", getBeiPhone())
            .append("userId", getUserId())
            .append("userJbrid", getUserJbrid())
            .append("beiTime", getBeiTime())
            .append("beiIsdel", getBeiIsdel())
            .append("beiMoney", getBeiMoney())
            .toString();
    }
}
